<table border="0" cellspacing="5" cellpadding="5" width="500">
    <tr>
        <td>
            <label for='users_first_name'><span style='color:red'>*</span> First Name:</label>
                <?php echo text_field('users', 'first_name', array('class'=>'required',
                                                                  'size'=>40,
                                                                  'title'=>'Please enter first name'))?>

        <label for='users_last_name'><span style='color:red'>*</span> Last Name:</label>
            <?php echo text_field('users', 'last_name', array('class'=>'required',
                                                             'size'=>40,
                                                             'title'=>'Please enter last name'))?>

        <label for='users_email'><span style='color:red'>*</span> Email:</label>
            <?php echo text_field('users', 'email', array('class'=>'validate-email',
                                                         'size'=>40,
                                                         'title'=>'Please enter a valid email'))?></td>

        <td>
            <label for='users_user_login'><span style='color:red'>*</span> Login:</label>
                <?php echo text_field('users', 'user_login', array('class'=>'validate-login',
                                                                   'size'=>40,
                                                                   'title'=>'Login must be at least 5 characters long'))?>

        <label for='users_user_password'><span style='color:red'>*</span> Password:</label>
            <?php echo password_field('users', 'user_password', array('class'=>'validate-password',
                                                                      'size'=>40,
                                                                      'title'=>'Password must be at least 6 characeters long'))?>

        <label for='users_user_password_confirm'><span style='color:red'>*</span> Confirm Password:</label>
            <?php echo password_field('users', 'user_password_confirm', array('class'=>'validate-password-confirm',
                                                                              'size'=>40,
                                                                              'title'=>'Passwords must match'))?></td>
    </tr>
</table>

<div id='submit'><?php echo submit_tag('Submit')?></div>
